<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>DuxCms安装向导</title>
<link href="__PUBLIC__/install/css/base.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/install/css/style.css" rel="stylesheet" type="text/css" />
<script src="__PUBLIC__/install/js/install.js"></script>
</head>
<body>
<div class="g-install">
  <div class="m-head">
    <h1>DuxCms安装环境测试</h1>
  </div>
  <div class="m-body">
    <div class="tt"></div>
    <div class="m-form">
      <legend>功能支持检测</legend>
      <!--loop{$check_env as $vo}-->
      <div class="formitm">
        <label class="lab">{$vo.0}：</label>
        <div class="ipt">
         {$vo.3}&nbsp;&nbsp;&nbsp;&nbsp;
          <?php if ($vo[4] == 'error'){
          	echo "<font color=red><b>×</b></font>";
          } else {
          	echo "<font color=green><b>√</b></font>";
          } ?>
        </div>
      </div>
      <!--{/loop}-->
      <legend>函数支持检测</legend>
      <!--loop{$check_func as $vo}-->
      <div class="formitm">
        <label class="lab">{$vo.0}：</label>
        <div class="ipt">
         {$vo.3}&nbsp;&nbsp;&nbsp;&nbsp;
          <?php if ($vo[4] == 'error'){
          	echo "<font color=red><b>×</b></font>";
          } else {
          	echo "<font color=green><b>√</b></font>";
          } ?>
        </div>
      </div>
      <!--{/loop}-->
      <div class="formitm"> 以上模块功能如果不可用可能会影响到系统的部分功能将无法使用 </div>
      <legend>目录权限检测</legend>
      <!--loop{$check_dirfile as $vo}-->
      <div class="formitm">
        <label class="lab">{$vo.1}：</label>
        <div class="ipt">
         {$vo.3}&nbsp;&nbsp;&nbsp;&nbsp;
          <?php if ($vo[2] == 'error'){
          	echo "<font color=red><b>×</b></font>";
          } else {
          	echo "<font color=green><b>√</b></font>";
          } ?>
        </div>
      </div>
      <!--{/loop}-->
    </div>
  </div>
  <div class="m-foot"> <a href="{U('index')}">上一步</a>
    <?php if (!function_exists('mysql_connect')||!function_exists('mysql_pconnect')){ ?>
    <a href="javascript:;" onclick="alert('关键功能无法使用，无法继续操作！')">下一步</a>
    <?php }else { ?>
    <a href="{U('setup2')}" class="submit">下一步</a>
    <?php } ?>
  </div>
</div>
</body>
</html>